package com.sky.service;

import com.sky.entity.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 地址簿 服务类
 * </p>
 *
 * @author chensheng
 * @since 2025-08-08
 */
public interface IAddressBookService extends IService<AddressBook> {

    /**
     * 查询默认地址
     * @return
     */
    AddressBook getDefault();


    /**
     * 设置默认地址
     * @param id 地址ID
     */
    void setDefault(AddressBook addressBook);


}